package com.prd.enums;

import lombok.Getter;

/**
 * @Author lizhaoyi
 * @date 2023/10/30 23:15
 * Description:
 */
@Getter
public enum WorkOrderStatusEnum {

    DRAFT(0,"草稿"),
    TO_BE_EXECUTED(1, "待执行"),
    NOT_PLAN(2, "未安排"),
    EXECUTING(3, "执行中"),
    RE_EXECUTED(4, "重新执行"),
    PRE_FINISHED(5, "预完成"),
    FINISHED(6, "已完成"),
    CANCELED(7, "已撤销");
    private Integer code;

    private String message;

    private WorkOrderStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
